package com.shengyin.ec.model.dao.mail;

import java.util.List;

import com.shengyin.ec.model.dao.BaseDao;
import com.shengyin.ec.model.entity.Mail;

public interface MailDao extends BaseDao<Mail> {

	public void deleteAllMail(long[] ids);

	public void deleteMailByAuthor(String newsAuthor);

	public List<Mail> getMailList();

	public void deleteSelectedMail(Long[] ids);

	public List<Mail> getMailList(int offset, int pagesize);

	public Long getTotal();

	
	
}
